package com.hyh.toyshopping.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @version 1.0
 * @BelongsProject:IntelliJ IDEA
 * @BelongsPackage:com.hyh.toyshopping.model
 * @Author:hyhWTX
 * @ClassName:Orders
 * @CreateTime:2022年-12月-14日 19:44
 * @Description: 订单
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orders {
    private String order_id;
    private Integer user_id;
    private String order_to_name;
    private String order_to_address;
    private String order_to_phone;
    private Date order_time;
    private Integer order_status;
    private Double order_total_price;

    //一个订单存在多条明细
    private List<OrderDesc> orderDescs;
}
